package com.jd.goods.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jd.goods.mapper.GoodsDescriptionMapper;
import com.jd.goods.pojo.GoodsDescription;
import com.jd.goods.service.GoodsDescService;

@Service("goodsDescService")
public class GoodsDescServiceImpl implements GoodsDescService {

	@Autowired
	private GoodsDescriptionMapper goodsDescriptionMapper;
	@Override
	public GoodsDescription getGoodsDescByGoodsId(long goodsid) {
		return goodsDescriptionMapper.getBygoodsId(goodsid);
	}

}
